package Ex5th;

public class Test {
    public static void main(String[] args){
        System.out.println("=------------------------------------------=\n\n第一个小练习如下：");
        Bicycle		car1 = new Bicycle("黑", "XXXX", "XXXX材质");
        Electricar car2 = new Electricar("白", "XXXX", "140Ah");
        Tricycle	car3 = new Tricycle("蓝", "XXXX", "XXXX橡胶轮胎");

        car1.intro();
        car2.intro();
        car3.intro();

        System.out.println("\n=------------------------------------------=");

        System.out.println("=------------------------------------------=\n\n第二个小练习如下：");

        YouthCommon youth1 = new YouthCommon("Jack", 22, 1, "XXXXX University", "XXXXX job");
        YouthArt youth2 = new YouthArt("Alice", 20, 2, "XXXXX University", "The book named XXXXX", "Be/Try/... XXXXX");

        youth1.intro();
        youth2.intro();

        System.out.println("\n=------------------------------------------=");
    }
}
